Improve deleting and attribute(getter/setter) methods.