Added return statements to suppress compiler warnings.