Removed unnecessary return statements.