Adding comments and improving overall quality of AssetsController.