Remove unnecessary variables
Add an abstract method explicitly
Use static import