Don't allow specialisation of class methods (fixes Trac #5001)