marked old registerAnnotatedMethods as Deprecated