Conventions-based refactoring