Made check_method_calls generally work. Add writemime implementations. Edit expr_type to work on method call args.