Remove anything not required