Updated methods to explicitly show return types