Code snippet to prevent init from being called in a class