Fix create from static method context