Make inject decorator work also on classes and save some keystrokes