Added return statements.