Removed unwanted methods and update content inset.