$content isn't passed to two methods.
Fixed a typo.
Fixed a typo in parameter name.