Refactoring: Use implicit typing