remove extra methods in spec