Fixed 'Bug 15985 - Implement abstract type produces invalid code'