Add a method for common codes