Removed unnecessary debug information and return values.