Replace a deprecated API call and removed no longer needed comment
2 files changed