Strip out code that is not required , as its a read-only API