Cleanup: removed empty lines; validate() method moved to action class