refactoring: remove warnings
fix #50: synthetic static method in contract-class throws UsageError