Fixed a bug in skipping method creation if one exists already