Add defined? method back to the project.