Added registerLess method
Merging with blackbiron's fix