Removed some duplicated methods.