Fix a bug with method writing and support lookup switch
Mark as release 0.1