Fix compilation warnings
Throw error when not implemented