Small method signatures and nested class refactoring