Do not generate apply method for abstract case classes #SCL-5081 Fixed