Created hide and create methods.