Added return statements to methods.