Removing unnecessary code from JModelAdmin