Fixed #1 and added support for self-assignment in method arguments