Removed unused and inline code.