Removed unused trim method