Rewrite some codes associated with project & method rename