removed useless methods.