Fix IDE annotations.

+ Remove unnecessary annotation to compensate for bug in old version of IDE.
+ Add annotation for dynamic require.