Added return type warnings