Extract 'override' and 'private' syntax from method definition.